<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
<title>我的团队</title>
<link rel="stylesheet" href="<?php echo $_BASE_DIR ?>baodan/css/common.css" >
<link rel="stylesheet" href="<?php echo $_BASE_DIR ?>baodan/css/my-team.css" >
</head>

<body>
<header class="header">
    <a class="back" href="javascript:history.back(-1)"></a>
	<div class="title">我的团队(<?php echo $num ?>人)</div>
</header>
<div style="height:40px;"></div>

<ul class="my-team-list">
<?php if(count($team)){
foreach ($team as $v){
    ?>
	<li>
		<div class="team-member"><?php echo $v['realname'] ?><span style="float: right;color:blue;"><b>第<?php echo Acctuser::getdainumbyuid($_SESSION['user']['id'], $v);?>代</b></span></div>
		<div class="member-info clearfix"><p><?php echo substr($v['acctname'], 0,4).'****'.substr($v['acctname'], -4,4)?></p><p><?php if($v['active_time'] >0) {?>激活：<?php echo date('Y-m-d H:i:s',$v['active_time'])?> <span style="color:#f05753"><?php }else{?>未激活</span><?php }?></p></div>
	</li>
		
		<?php
             }
        }else{?>
		<div style="text-align:center;margin-top:45%; color:#666; font-size:15px;">
		    <img src="<?php echo $_BASE_DIR ?>point/img/sad_emoji_icon.png"  width="30" height="30" style="margin:0 auto 10px;"/>
		    <p>你还没有团队成员哟！</p>
		</div>
		<?php }?>
</ul>

</body>
</html>
